#!/usr/bin/env python

import os
import sys

import resource.string.app as r

from wx import FileConfig

class Config(FileConfig):
    """Miyuki config"""

    def __init__(self):
        homeDir = os.path.dirname(sys.argv[0])
        path = os.path.join(homeDir, '%s.conf' % r.name)
        path = os.path.realpath(path)
        super(Config, self).__init__(r.name, r.company.name, path)